we never read the value computed
computing it means a recursive visit of the whole folder hierarchy which
could be taking a long time
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
}
QString removeError;
- const auto availability = propagator()->syncOptions()._vfs->availability(_item->_file, Vfs::AvailabilityRecursivity::RecursiveAvailability);
if (_moveToTrash && propagator()->syncOptions()._vfs->mode() != OCC::Vfs::WindowsCfApi) {
if ((QDir(filename).exists() || FileSystem::fileExists(filename))
&& !FileSystem::moveToTrash(filename, &removeError)) {